<?php

namespace App\Services;

use App\Models\Community;

class CommunityService extends BaseService
{
    /**
     * Notes: 根据小区id获取物业id
     * User: lstink
     * Date: 2021/3/4
     * Time: 2:22 下午
     * @param $community_id
     * @return mixed
     */
    public function getEstateId($community_id)
    {
        return Community::where('community_id', $community_id)->value('property_id');
    }
}
